<div ng-controller="updatePrizeCtrl
">
    <h4>修改奖品</h4>

    <form class="form account-form">
        <label class="control-label">奖品：</label> {{prizeName}} <br><br>
        <label class="control-label">奖品等级名称：</label>
        <input class="form-control" ng-model="levelName" required tabindex="5">
        <label class="control-label">中奖名额：</label>
        <input class="form-control" ng-model="prizeCount" required tabindex="5">
        <label class="control-label">奖品奖励数量：</label>
        <input class="form-control" ng-model="rewardCount" required tabindex="5">
        <label class="control-label">奖品等级：</label>
        <input class="form-control" ng-model="prizeLevel" required tabindex="5">
        <label class="control-label">奖品位置：(从0开始,0设置成谢谢参与)</label>
        <input class="form-control" ng-model="prizePosition" required tabindex="5">
        <label class="control-label">中奖几率：(小数，例：1就是100%中奖，0.01就是1%的中奖几率，所有奖品中奖几率总和必须为1)</label>
        <input class="form-control" ng-model="prizeProbability" required tabindex="5">
        <label class="control-label">奖品图片</label>
        <div class="col-xs-5">
            <input type="file" id="pict"
                   onchange="angular.element(this).scope().selectFile(this.files)" accept="image/*"></div>
        <br /><br />
        <div class="form-group">
            <button ng-click="cannel()" class="btn btn-xs btn-primary">取消</button>
            <button ng-click="update()" class="btn btn-xs btn-primary" type="submit">保存</button>
        </div>
    </form>
</div>

